package com.wx.proxy.cglib.aop;

import com.wx.proxy.cglib.aop.annotation.Log;
import com.wx.proxy.cglib.aop.annotation.Safe;

/**
 * @description:
 * @author: wangxun
 * @createDate: 2021/12/27
 * @version: 1.0
 */


public class Fun {
    @Safe
    void fun(){
        System.out.println("fun~~");
    }



    public static void main(String[] args) {
        Fun proxy = MyContainer.getInstance().getProxy(Fun.class);
        proxy.fun();
    }
}
